lcd: mpc8xx: move mpc823-specific fb_put_byte to mpc8xx_lcd.c
authorNikita Kiryanov <[email protected]>
Tue, 3 Feb 2015 11:32:23 +0000 (13:32 +0200)
committerAnatolij Gustschin <[email protected]>
Tue, 10 Feb 2015 12:26:53 +0000 (13:26 +0100)
commit27fad01b7fca1ed9ae946ced37c3d4bde828ba14
tree2f947839a02c67d5ed68a17ed3c3573f6ba85de6
parentb3d12e9bca1b23a537d77af2ae019cddc59f2031
lcd: mpc8xx: move mpc823-specific fb_put_byte to mpc8xx_lcd.c

Reduce the amount of platform-specific code in common/lcd.c by moving MPC823
implementation of fb_put_byte() to mpc8xx_lcd.c. Since we must also have a
default implementation for everybody else, make the remainder of the code
into a weak function.

Signed-off-by: Nikita Kiryanov <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Tested-by: Bo Shen <[email protected]>
Tested-by: Josh Wu <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Anatolij Gustschin <[email protected]>
common/lcd.c
drivers/video/mpc8xx_lcd.c